<template>
  <div>
    仓库中的值是：
    <p>state {{ $store.state.count }}</p>
    <p>getters {{ $store.getters.getDoubleCount }}</p>
  </div>
</template>

<script>
export default {
  updated () {
    console.log('--state--', this.$store.state.count)
    console.log('--getters--', this.$store.getters.getDoubleCount)
  }
}
</script>
